// Direct3D_Class project
// Jonathan S. Harbour
// June 2005


#ifndef _CDIRECT3D_H
#define _CDIRECT3D_H 1

#include <windows.h>

class CDirect3D
{
	public:
		int Init(HWND, int, int, int);
		void Shutdown();
		LPDIRECT3DSURFACE9 GetBackBuffer() { return backbuffer; }
		LPDIRECT3DDEVICE9 GetDevice() { return d3ddev; }

	private:
		LPDIRECT3D9 d3d; 
		LPDIRECT3DDEVICE9 d3ddev; 
		LPDIRECT3DSURFACE9 backbuffer;
};



#endif

